package net.zhengxinyun.unifyApp.service.user;

import net.zhengxinyun.unifyApp.entity.user.UserEntity;
import net.zhengxinyun.unifyApp.entity.user.UserSystemEntity;
import net.zhengxinyun.unifyApp.entity.vaild.SysValid;
import net.zhengxinyun.unifyApp.filter.UserFilter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.HashMap;
import java.util.List;

public interface UserSerivce {

    public static final Logger log = LoggerFactory.getLogger(UserSerivce.class);

    int saveVaildCode(String tel,String  vaildCode); //保存校验码
    HashMap<String,Object> vaildCode(String tel, String code); // 验证校验码
    String  vaildUser(String tel);

    UserEntity getUserByPhone(String tel);


    int saveUserSystem(List<UserSystemEntity> list);

    List<UserFilter> selectSysbyId(String tel);



}
